import type { CouponScene, CouponStatus } from '../types/coupon';

export function getSceneName(scene: CouponScene) {
  switch (scene) {
    case 1:
      return 'hotel';
    case 2:
      return 'dining';
    case 3:
      return 'spa';
    case 4:
      return 'car';
  }
}

export function getStatusName(status: CouponStatus) {
  switch (status) {
    case 1:
      return '去使用';
    case 2:
      return '已使用';
    case 3:
      return '已过期';
    case 4:
      return '已关闭';
    case 5:
      return '已回收';
  }
}
